﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TreeShop.aspx.cs" Inherits="ForestryEnterprise.TreeShop" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <style type="text/css">
        td
        {
            border:1px solid black;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <h2>Buy Trees</h2>
        <hr />
        <asp:DropDownList ID="trees" runat="server" />
        <hr />
        <label>Amount:</label><asp:TextBox ID="treeAmount" runat="server" />
        <label>Type:</label><asp:DropDownList id="buyType" runat="server" />
        <asp:Button ID="addTree" Text="Add" runat="server" onclick="addTree_Click" />
        <hr />
        <table id="subinvs" runat="server" style="border-collapse:collapse;">
            <tr>
                <td>
                    Tree
                </td>
                <td>
                    Amount
                </td>
                <td>
                    Cost per unit
                </td>
                <td>
                    Total cost
                </td>
            </tr>
        </table>

        <hr />
        <asp:Label ID="err" runat="server" />
        <asp:Label ID="err2" runat="server" />
        <asp:Label ID="err3" runat="server" />
        <asp:Label ID="err4" runat="server" />
        <asp:Button ID="buy" Text="Buy" runat="server" onclick="buy_Click" />
        <asp:Button ID="cancel" Text="Cancel" runat="server" onclick="cancel_Click" />
    </form>
</body>
</html>
